import request from '@/utils/request'

let RecommendApi = {
  /*获取列表*/
  RecommendList(data, errorback) {
    return request._get('/shop/product.Recommend/index', data, errorback);
  },
  /*添加*/
  addRecommend(data, errorback) {
    return request._post('/shop/product.Recommend/add', data, errorback);
  },
  /*编辑*/
  editRecommend(data, errorback) {
    return request._post('/shop/product.Recommend/edit', data, errorback);
  },
  /*删除*/
  deleteRecommend(data, errorback) {
    return request._post('/shop/product.Recommend/delete', data, errorback);
  },
  /*分类审核*/
  auditStatusSubmit(data, errorback) {
    return request._post('/shop/product.Recommend/audit', data, errorback);
  },

}
export default RecommendApi;
